package com.securitydome05.dao;


import com.securitydome05.pojo.Role;
import com.securitydome05.pojo.User;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserDao {

//<!--根据用户名查找用户-->
    User loadUserByUsername(String username);
//根据id查询他的权限信息
    List<Role> getRoleByUid(Integer id);

}
